package com.qf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/10/17 17:46
 */
@SpringBootApplication
//开启注册中心
@EnableEurekaClient
//开启配置组件
@EnableConfigServer
public class ConfigServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication. class,args);
    }

}
